package cn.wolfcode.trip.base.service;

import cn.wolfcode.trip.base.domain.User;
import cn.wolfcode.trip.base.mapper.UserMapper;
import cn.wolfcode.trip.base.query.QueryObject;
import com.github.pagehelper.PageInfo;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;


public interface IUserService {
    User register(User user);

    User login(User user);

    PageInfo<User> selectFroList(QueryObject qo);

    void updateInfo(User user);

    void updatePoint(Long id, Integer consume);
}
